﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MINERP.COM
{
    public class SearchCondition
    {

    }


    #region //查询条件类

    /// <summary>
    /// 订单信息条件类
    /// </summary>
    public class criteriaOrderBag
    {
        public string ordercode = string.Empty;
        public DateTime orderStart = DateTime.MinValue;
        public DateTime orderEnd = DateTime.MinValue;
        public DateTime fetchStart = DateTime.MinValue;
        public DateTime fetchEnd = DateTime.MinValue;
        public string ctmName = string.Empty;
        public int priority = -1;
        public int status = -1;
        public string bagName = string.Empty;
    }
    /// <summary>
    /// 商户信息条件类
    /// </summary>
    public class criteriaShop
    {
        public string shopName = string.Empty;
        public string relationName = string.Empty;
        public string phone = string.Empty;
        public string adress = string.Empty;
        public DateTime orderStart = DateTime.MinValue;
        public DateTime orderEnd = DateTime.MaxValue;
    }

    /// <summary>
    /// 产品信息条件类
    /// </summary>
    public class criteriaProductInfo
    {
        public int categry = 0;
        public string desc = string.Empty;
        public string code = string.Empty;
        public int productid = 0;
        public int width = -1;
        public int height = -1;
        public int papgertype = 0;
        public int paperface = 0;
        public string photoCode = string.Empty;
    }

    /// <summary>
    /// 用户信息条件查询类
    /// </summary>
    public class UserSearchInfo
    {
        public int OrderUserID = -1;
        public int ModifyUserID = -1;
        public int ChangeColorUserID = -1;
        public int DesignUserID = -1;

        public DateTime Start = DateTime.MinValue;
        public DateTime End = DateTime.MinValue;
    }

    #endregion

    /// <summary>
    /// 产品类别
    /// </summary>
    public class ProductCate
    {
        public int ProductCategoryId {get;set;}
        public string ProductCategoryName { get; set; }
    }

    /// <summary>
    /// 产品
    /// </summary>
    public class Product
    {
        public int ProductID { get; set; }
        public string ProductName { get; set; }
    }

    /// <summary>
    /// 绑定的用户信息
    /// </summary>
    public class UserInfo
    {
        public int UserID { get; set; }
        public string UserName { get; set; }
    }

    /// <summary>
    /// COMBOX绑定的商户信息
    /// </summary>
    public class ShopInfo
    {
        public int ShopID { get; set; }
        public string ShopName { get; set; }
        public string ShopZJM { get; set; }
    }
    /// <summary>
    /// 流程信息
    /// </summary>
    public class TechInfo
    {
        public int TechID { get; set; }
        public string TechName { get; set; }
    }

    /// <summary>
    /// 设定的时间常量
    /// </summary>
    public  class TimeCosntVar
    {
        public static  int TimeOutHour = 1;
    }
    
}
